﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace TinyERP.Framework.Controls
{
    public class BaseForm: UserControl, IForm
    {
        public event CloseDialogHandler CloseDialog;
        public virtual Image GetIcon()
        {
            return null;
        }
        protected void InvokeCloseDialog()
        {
            if (CloseDialog != null)
            {
                CloseDialog(this);
            }
        }

        public virtual void RegisterShortcuts()
        {

        }

    }
}
